package io.github.talelin.latticy.dto.rule.chargeItem;

import io.github.talelin.latticy.dto.query.BasePageDTO;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @authoer:wulongbo
 * @createDate:2022/9/16
 * @description:
 */
@Data
public class ChargeItemPageDTO extends BasePageDTO {

    private String name;

    @Min(value = 1, message = "{rule.level.min}")
    @Max(value = 3, message = "{rule.level.max}")
    private Integer level;

    @Min(value = 1, message = "{ charge.billType.min}")
    @Max(value = 4, message = "{ charge.billType.max}")
    private  Integer billType;

    @Min(value = 1, message = "{rule.feesBizType.min}")
    @Max(value = 3, message = "{rule.feesBizType.max}")
    private  Integer feesBizType;
}
